package com.firefly.admin.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

@ApiModel(value = "FySystemUserRole", description = "系统管理员角色信息")
@Data
@ToString
@EqualsAndHashCode
public class FySystemUserRole {

    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "用户角色ID")
    private Long userRoleId;

    @ApiModelProperty(value = "用户ID")
    private Long userId;

    @ApiModelProperty(value = "角色ID")
    private Long roleId;
}
